package com.wang.ssm.mapper;

import com.wang.ssm.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【user】的数据库操作Mapper
* @createDate 2023-10-18 11:34:29
* @Entity com.wang.ssm.pojo.User
*/
@Mapper
public interface UserMapper {

    User login(@Param("username") String username, @Param("password") String password);
    List<User> finduser();

    int adduser(User user);

    int upuser(User user);

    int uppass(User user);

    User findById(String uid);
}
